package nc.vo.fp.fp613;

import nc.bs.framework.common.InvocationInfoProxy;
import nc.vo.pub.lang.UFDate;

public class ConstantUtil {
	
	public static UFDate getBSDate(){
		InvocationInfoProxy invocationInfoProxy = InvocationInfoProxy.getInstance();
		UFDate bsDate = null;
	    if (null != invocationInfoProxy && null != invocationInfoProxy.getDate())
	    	bsDate = new UFDate(Long.parseLong(invocationInfoProxy.getDate()));
	    return bsDate;
	}
	
	public static String getBSUser(){
		InvocationInfoProxy invocationInfoProxy = InvocationInfoProxy.getInstance();
		String bsUser = null;
	    if (null != invocationInfoProxy && null != invocationInfoProxy.getUserCode())
	    	bsUser = invocationInfoProxy.getUserCode();
	    return bsUser;
	}

}
